import {createRouter, createWebHistory} from 'vue-router';

import Home from './components/Home.vue';
import About from './components/About.vue';
import Data from './components/Data.vue';
import Prediction from './components/Prediction.vue';

const routes = [
    {path: '/', component: Home},
    {path: '/about', component: About},
    {path: '/data', component: Data},
    {path: '/prediction', component: Prediction},
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
